package com.guochen.debt.mapper;

import com.guochen.debt.pojo.LoadChangeInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Guo Chen
 * @date 2022年05月14日 15:20
 */
public interface LoadChangeInfoMapper {
    //TODO
    //1.修改
    Integer updateLoadChangeInfo(LoadChangeInfo loadChangeInfo);
    //2.删除
    Integer deleteLoadChangeInfoById(@Param("changeId") Integer id);
    //3.添加
    Integer insertLoadChangeInfo(LoadChangeInfo loadChangeInfo);
    //4.查询
    List<LoadChangeInfo>getChangeInfoByChangeId(@Param("changeId") Integer id);
    //5.查询所有
    List<LoadChangeInfo>getAllChangeInfo();
}
